import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import SW from "../components/sw"
import ArticalDetail from '../components/ArticalDetail'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: SW
    },
    {
      path:'/sw',
      component:SW
    },
    {
      path:'/detail',
      component:ArticalDetail,
    }
  ]
})
